package com.itheima.health.service;

import java.util.HashSet;
import java.util.Map;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;

public interface MenuService {
    HashSet<Map<String,Object>> getMenuListByUsername(String username);

    PageResult findPage(QueryPageBean queryPageBean);

    int add(Menu menu);

    Menu findById(Integer id);

    int edit(Menu menu);

    int delete(Integer id);
}
